package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface IDepartmentService {
    void delete(Long id);
    void save(Department department);

    Department get(Long id);

    List<Department> listAll();

    void update(Department department);

    PageResult<Department> query(QueryObject qo);

}
